﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.DTO.Token {
    /// <summary>
    /// 银行列表
    /// </summary>
    public class bank_resp : t_head_req {
        public bank_resp() {
            method = "11000";
        }

        /// <summary>
        /// 银行编号
        /// </summary>
        public long id { get; set; }
        /// <summary>
        /// 银行代号
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 银行名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 银行logo地址
        /// </summary>
        public string iconPath { get; set; }
        /// <summary>
        /// 站点通道id
        /// </summary>
        public long stationChannelId { get; set; }
        /// <summary>
        /// 办卡进度查询
        /// </summary>
        public string searchUrl { get; set; }
    }

    /// <summary>
    /// 银行卡主题列表
    /// </summary>
    public class banktopic_resp : t_head_req {
        public banktopic_resp() {
            method = "11001";
        }

        /// <summary>
        /// 编号
        /// </summary>
        public long id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int sort { get; set; }
    }

    /// <summary>
    /// 银行卡标签列表
    /// </summary>
    public class banktag_resp : t_head_req {
        public banktag_resp() {
            tagList = new List<tag_list>();
            method = "11002";
        }

        /// <summary>
        /// 编号
        /// </summary>
        public long id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int sort { get; set; }
        /// <summary>
        /// 标签列表
        /// </summary>
        public List<tag_list> tagList { get; set; }

        /// <summary>
        /// 标签
        /// </summary>
        public class tag_list {
            /// <summary>
            /// 编号
            /// </summary>
            public long id { get; set; }
            /// <summary>
            /// 名称
            /// </summary>
            public string name { get; set; }
            /// <summary>
            /// 排序
            /// </summary>
            public int sort { get; set; }
            /// <summary>
            /// 标签类型编号
            /// </summary>
            public long tagTypeId { get; set; }
        }
    }
}
